<template>
    <div style="padding: 30px; text-align: left">

    <a-tabs default-active-key="1">
      <a-tab-pane key="1">
        <span slot="tab">
          <!-- <a-icon type="apple" /> -->
          智能合约
        </span>
        <contract-info></contract-info>
      </a-tab-pane>
      <a-tab-pane key="2">
        <span slot="tab">
          <!-- <a-icon type="android" /> -->
          部署合约
        </span>
        <contract-deploy></contract-deploy>
      </a-tab-pane>
      <a-tab-pane key="3">
        <span slot="tab">
          <!-- <a-icon type="android" /> -->
          JAVA代码
        </span>
        <contract-code></contract-code>
      </a-tab-pane>
    </a-tabs>
  </div>
</template>

<script>
import ContractInfo from "../components/ContractInfo.vue";
import ContractDeploy from "../components/ContractDeploy.vue";
import ContractCode from "../components/ContractCode.vue";

export default {
    components: {
        ContractInfo,
        ContractDeploy,
        ContractCode
    },
    data() {
        return {

        }
    },
    created() {
      this.$eventbus.$emit("selectMenu", { name: "Contracts"});
    }
}
</script>
